Ext.define("PrjAPLean.view.bcd.paapprove.Main", {
    extend: "Ext.panel.Panel",
    requires: ["PrjAPLean.view.bcd.paapprove.MainController", "PrjAPLean.view.bcd.paapprove.MainModel"],
    title: "PA明细",
    titleAlign: "center",
    controller: "bcd-paapprove-main",
    viewModel: {
        type: "bcd-paapprove-main"
    },
    items: [
        Ext.create("PrjAPLean.view.bcd.paview.requestForm"),
        Ext.create("PrjAPLean.view.bcd.paapply.RequestDetailsTable"),
        Ext.create("PrjAPLean.view.bcd.paview.ApproveLogTable"), 
        {
            xtype:"panel",
            items:[
                {
                    xtype:'textarea',
                    label:"Comments"
                }
            ]
        },
        {
            xtype: "panel",
            buttonAlign: "center",
            buttons: [{
                text: "Approve"
            }, {
                text: "Return"
            }, {
                text: "Reject"
            }, {
                text: "Back"
            }]
        }
    ]
});